/* =========================================================
   ROOT FONT SIZE (10px base)
   ========================================================= */
html {
  font-size: 62.5%; /* 1rem = 10px */
}

/* ================================
   GLOBAL RESETS  Recommended by https://www.youtube.com/watch?v=w4dL_8-kVEs&t=1021s time:13:00  for all files
================================ */
/* =========================================================
   GLOBAL RESETS
   ========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial;
}

body {
  background-color: #f7f7f7;
  font-size: 1.75rem;
  text-align: center;
}

/* =========================================================
   HEADER & LOGO
   ========================================================= */
header {
  background: #f7f7f7;
}
header::after {
  content: "";
  display: table;
  clear: both;
}

.site-logo {
  display: block;
  margin: 1rem auto;
  width: 100rem;
  max-width: 100%;
  box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.2),
    0 0.6rem 2rem rgba(0, 0, 0, 0.19);
}
.page_wrapper {
  width: 80%;
  margin: 0 auto;
}
.center_wrapper {
  display: flex;
  justify-content: center;
}
.container {
  width: 100%;
  margin: 0 auto;
}

.in-a-bit {
  &.w90 {
    width: 90%;
  }
  &.w50 {
    width: 50%;
  }
  &.w80 {
    width: 80%;
  }
  margin: 0 auto;
}

.nav_logo {
  margin: 0.5rem;
  float: left;
  height: 2.5rem;
  width: auto;
  color: white;
}

/* =========================================================
   FOOTER
   ========================================================= */
.copyright-footer {
  font-size: 1.5rem;
  color: #666;
  line-height: 1.4;
  margin: 0rem 3rem;
  text-align: left;
}
.copyright-footer-line {
  font-size: 1.5rem;
  color: #666;
  line-height: 1.4;
  margin: 0 auto 1rem auto;
  text-align: center;
}
/* =========================================================
   HOME BUTTON
   ========================================================= */
.home-button {
  background-color: #f7f7f7;
  color: #a43f3f;
  padding: 0.6rem 1.4rem;
  border-radius: 0.6rem;
  text-decoration: none;
  font-weight: 600;
  border: 0.1rem solid #ccc;
  transition: 0.2s;
  box-shadow: 0 0.4rem 0.8rem 0.5rem rgba(0, 0, 0, 0.2),
    0 0.6rem 2rem rgba(0, 0, 0, 0.19);
}
.home-button:hover {
  background-color: #444;
  color: gold;
  border-color: #333;
}

/* =========================================================
   NAVIGATION BAR
   ========================================================= */
.nav_bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  margin: 0 auto;
  background-color: #a43f3f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 70px; /* precise px kept */
}

.nav_bar > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.nav_bar ul li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: white;
  text-decoration: none;
  padding: 0.8rem 0.4rem;
  line-height: 1.2;
}

.nav_bar ul li a:hover {
  color: gold;
}

/* =========================================================
   DROPDOWNS
   ========================================================= */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #333;
  min-width: 16rem;
  list-style: none;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  padding: 1rem 1.4rem;
  color: white;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: #444;
}

/* =========================================================
   HAMBURGER (Desktop hidden)
   ========================================================= */
.hamburger {
  display: none;
}

/* =========================================================
   TEXT / SCRIPTURE SECTIONS
   ========================================================= */
.div_discussion {
  font-size: 2rem;
  margin: 2rem auto;
  max-width: 80%;
  text-align: center;
}
.div_justified {
  font-size: 2rem;
  text-align: left;
}
.div_justified ol {
  width: 90%;
  margin: 2rem auto;
}

.scripture-inset {
  text-align: left;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.scripture-inset .verse {
  margin: 0 0 0.4rem;
}

.scripture-inset p.ref {
  margin: 0 0 1rem;
  text-align: left;
  font-style: italic;
  font-size: 0.95rem;
  color: #333;
}

.text_ital {
  font-style: italic;
}

.discussion-block {
  padding: 8rem 2rem 4rem 2rem;
}

.def_esthetics {
  text-decoration: underline;
  color: red;
  cursor: pointer;
}
.def_esthetics::after {
  content: "";
  color: inherit;
}

ul {
  &.a {
    list-style-type: circle;
  }
  &.b {
    list-style-type: disc;
  }
  &.c {
    list-style-type: square;
  }
}
/* =========================================================
   POPOVER
   ========================================================= */
.popover_style {
  position: absolute;
  display: none;
  padding: 1rem 1.4rem;
  border-radius: 0.8rem;
  background: #87ebd4;
  border: 0.1rem solid #ccc;
  box-shadow: 0 0.2rem 0.8rem rgba(131, 227, 154, 0.2);
  font-size: 1.5rem;
  max-width: 25rem;
  z-index: 1000;
}
.popover_style:hover {
  cursor: pointer; /* changes cursor when hovering */
}

/* =========================================================
   VERSE COMPARISON BLOCK
   ========================================================= */
.vc-scroll-box {
  position: sticky;
  top: 70px; /* precise px kept */
  z-index: 50;
  background: #ffffff;
  padding: 1rem 0;
  width: 85%;
  margin: 1rem auto 0 auto;
  border: 0.2rem solid #ddd;
  border-radius: 1rem;
}

.vc-scroll {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 2rem;
  padding: 0 1rem;
  scrollbar-width: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 1rem;
  scroll-padding-right: 1rem;
}

.verse-compare {
  flex: 0 0 55rem;
  background: #f9f9f9;
  border: 0.2rem solid #ccc;
  border-radius: 1.2rem;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  scroll-snap-align: start;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 32rem;
  max-width: 55rem;
}

.verse-compare-noscroll {
  width: 90%;
  margin: 2rem auto 1rem auto;
  padding: 1rem;
  border: 0.2rem solid #000;
  border-radius: 1.2rem;
  background: white;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.15);

  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 0 0 auto;
  min-width: 32rem;
  max-width: 55rem;
}

.vc-top {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.vc-item {
  width: 45%;
}

.vc-or {
  font-weight: bold;
  font-size: 1.5rem;
  padding: 1rem;
}

.vc-bottom {
  margin-top: 1.5rem;
  font-weight: bold;
  font-size: 1.7rem;
}

/*
===============
Placing text and image side-by-side
===============
*/
.image-text-container {
  display: flex; /* Turns the container into a flex container */
  width: 80%;
  align-items: center; /* Aligns items to the middle */
  gap: 20px; /* Adds space between image and text */
  max-width: 800px; /* Example container width */
}
.image-left-flex {
  width: 200px; /* Example width */
  flex-shrink: 0; /* Prevents image from shrinking */
  display: block;
  box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.2),
    0 0.6rem 2rem rgba(0, 0, 0, 0.19);
}
/* flips image to the right */
.image-right {
  flex-direction: row-reverse;
  margin-left: auto;
}
.text-content {
  flex-grow: 1; /* Allows text to take remaining space */
}
/*  END  of Text and Image  */
/* 

=========================================================
   YOUTUBE BLOCKS
   ========================================================= */
.video-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem 0;
}

.video-block img {
  width: 20rem;
  height: auto;
  border-radius: 0.8rem;
}

.video-block img:hover {
  transform: scale(1.03);
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.4);
}

.video-text {
  max-width: 50rem;
  text-align: center;
}

.side-videos {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.PO_button {
  margin-bottom: 0.3rem;
  padding: 0.5rem 2rem;
  font-size: 1.5rem;
  background-color: #3d5dc6;
  color: white;
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  z-index: 1000;
}

.PO_button:hover {
  background-color: #0e19a9;
}

/* =========================================================
   TOOLTIPS
   ========================================================= */
.tip {
  position: relative;
}
.tip span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgb(25, 95, 160);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  font-size: 1rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
  top: 110%;
}
.tip:hover span {
  opacity: 1;
}

/* =========================================================
   RESPONSIVE — ALL BREAKPOINTS BELOW
   ========================================================= */

/* ---------- 800px (mobile nav, hamburger, dropdown tap logic) ---------- */
@media (max-width: 800px) {
  .nav_bar {
    height: auto;
    padding: 1rem 2rem;
    flex-wrap: wrap;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    cursor: pointer;
  }

  .hamburger span {
    width: 3rem;
    height: 0.4rem;
    background: white;
    border-radius: 0.2rem;
    transition: 0.3s;
  }

  #nav_menu {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    gap: 1.5rem;
  }
  #nav_menu.active {
    display: flex;
  }

  .dropdown-content {
    position: static;
    background-color: #444;
    margin-top: 0.5rem;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown.open .dropdown-content {
    display: block !important;
  }
}

/* ---------- 650px (verse comparison stack) ---------- */
@media (max-width: 650px) {
  .vc-top {
    flex-direction: column;
  }
  .vc-or {
    width: auto;
  }
  .vc-item {
    width: 85%;
  }

  .vc-scroll-box {
    top: 100px; /* precise px kept */
  }
}
